← Back to issue list

musl libc support

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1862666
Type
issue
State
open
Author
~cjp256
Labels
Created
2020-02-10 16:40:42.229458+00:00
Updated
2020-02-10 16:40:42.229458+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Snapcraft uses the "gnu" arch triplet (e.g. x86_64-linux-gnu), whereas musl reuires the "musl" triplet (e.g. x86_64-linux-musl). Users of musl libc will require a layout to wire up musl but it can be made to work with recent snapcraft, though will get an error: This part is missing libraries that cannot be satisfied with any available stage-packages known to snapcraft: - libc.musl-x86_64.so.1 Crawling for it probably doesn't work due to the soname format? Regardless, we should sort out the appropriate way to handle this case. There may be other gotchas. --- layout: /lib/ld-musl-x86_64.so.1: bind-file: $SNAP/lib/x86_64-linux-musl/libc.so

Evaluation history

No evaluation history available.